package com.ruoyi.people.provider.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 服务方登记信息 对象 provider
 * 
 * @author yjy
 * @date 2025-06-07
 */
public class Provider extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键id */
    @Excel(name = "主键id")
    private Long providerId;

    /** 绑定的用户id */
    @Excel(name = "用户编号")
    private Long userId;

    /** 用户名称 */
    @Excel(name = "用户名称")
    private String username;

    /** 联系电话（选填） */
    @Excel(name = "联系电话", readConverterExp = "选=填")
    private String phone;

    /** 所属服务类型（维修、清洁、托管） */
    @Excel(name = "所属服务类型", readConverterExp = "维=修、清洁、托管")
    private Long serviceId;

    /** 自定义服务信息宣传 */
    @Excel(name = "自定义服务信息宣传")
    private String serviceDesc;

    /** 服务描述图片 */
    @Excel(name = "服务描述图片")
    private String serviceImg;
    /** 开始时间（用于范围查询） */
    private String beginTime;

    /** 结束时间（用于范围查询） */
    private String endTime;

    private String serviceName;

    public String getServiceName() {
        return serviceName;
    }

    public void setServiceName(String serviceName) {
        this.serviceName = serviceName;
    }

    public String getBeginTime() {
        return beginTime;
    }

    public void setBeginTime(String beginTime) {
        this.beginTime = beginTime;
    }

    public String getEndTime() {
        return endTime;
    }

    public void setEndTime(String endTime) {
        this.endTime = endTime;
    }

    public void setProviderId(Long providerId)
    {
        this.providerId = providerId;
    }

    public Long getProviderId() 
    {
        return providerId;
    }

    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public void setPhone(String phone)
    {
        this.phone = phone;
    }

    public String getPhone() 
    {
        return phone;
    }

    public void setServiceId(Long serviceId) 
    {
        this.serviceId = serviceId;
    }

    public Long getServiceId() 
    {
        return serviceId;
    }

    public void setServiceDesc(String serviceDesc) 
    {
        this.serviceDesc = serviceDesc;
    }

    public String getServiceDesc() 
    {
        return serviceDesc;
    }

    public void setServiceImg(String serviceImg) 
    {
        this.serviceImg = serviceImg;
    }

    public String getServiceImg() 
    {
        return serviceImg;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("providerId", getProviderId())
            .append("userId", getUserId())
            .append("username", getUsername())
            .append("phone", getPhone())
            .append("serviceId", getServiceId())
            .append("serviceDesc", getServiceDesc())
            .append("serviceImg", getServiceImg())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
